var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "code": 0,
        "msg": "OK",
        "data|12": [
            {
                "id|+1":1,
                "date": "@date('yyyy-MM-dd')",
                "money": "@integer(0,50000)",
                "ratio": "@float(0,1,0,2)",
            }]
    })
}